import React, { Component } from 'react';
import {Link} from 'react-router';

export default class InformationComponent extends Component {
    render() {
        const {name,phone,path,onClick} = this.props
        return (
            <div
                className="ChooseHeight f14 border_bottom"
                onClick = {onClick}
            >
                <div className="color6">
                    <span>{name}</span>
                    <span className="di ml">{phone}</span>
                </div>
                <div className="color9" style={{marginTop:5}}>{path}</div>
            </div>
        );
    }
}
